<template>
  <div class="app">

    <div v-if="account.userinfo.yhlx===1">
      <Table/>
    </div>
    <div v-else>
      <list/>
    </div>




  </div>


</template>


<script setup>
import { ref } from 'vue';
import { useRouter } from 'vue-router';

import list from '@/views/global/information/list.vue';
import Table from '@/views/global/information/table.vue';
import { useAccount } from '@/pinia/modules/account';
// const { userinfo } = storeToRefs(useAccount())

const account = useAccount()






</script>


<style>

</style>